from pydantic import BaseModel

# {
#     "product_id": "",
#     "device_name": "",
#     "params": {
#         "paramName": "value"
#     }
# }


class ParsedCommand(BaseModel):
    product_id: str
    device_name: str
    params: dict
    class params